package org.chen.newsapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("articles")
public class Article {
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    
    private String title;
    private String summary;
    private String author;
    private String category;
    private String thumbnailUrl;
    private String mainImageUrl;
    private String tags;
    private String source;
    private Integer status;
    private Boolean isTop;
    private Integer topOrder;
    private Boolean isHot;
    private Integer hotOrder;
    private Boolean isRecommend;
    private Integer recommendOrder;
    private Long viewCount;
    private String contentHtml;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}